package com.wchat.service;

public interface SendVerifyCode {


    String TEXT_URL= "http://www.yzmsms.cn/sendSmsYZM.do";

    String TEXT_USERNAME = "fkdcyzm";

    String TEXT_PWD = "jOFguY";

    String TEXT_CONTENT = "【浪漫邂逅】您的验证码短信为：%s,请勿将他告诉任何人,验证码十分钟有效";

    Integer avaliableTime = 60 * 10 * 1000 ; // 过期时间 10分钟

    // 发送验证码和保存验证码
    void sendVerifyCodeAndSave(String phoneNumber,Integer avaliableTime);

    boolean checkoutVerifyCode(String phoneNumber,Integer code);



}
